package com.wuhuiyue.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-11
 */
@Getter
@Setter
@TableName("tb_softwarevo")
public class Softwarevo implements Serializable {

    private static final long serialVersionUID = 1L;
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "软件名称")
    private String name;

    /**
     * 主要群体
     */
    @ExcelIgnore
    private Integer main;
    @ExcelProperty(value = "软件官网")
    private String url;

    /**
     * 支持平台
     */
    @ExcelIgnore
    private String platform;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "发布时间",format = "yyyy-MM-dd")
    private Date created;

    @ExcelIgnore
    private String email;
    @ExcelIgnore
    private String tel;

    /**
     * 分组id
     */
    @ExcelIgnore
    private Integer gid;

    /**
     * 公司id
     */
    @ExcelIgnore
    private Integer fid;
    @ExcelProperty(value = "分组名称")
    private String gname;
    @ExcelProperty(value = "公司名称")
    private String fname;


}
